/**
 *
 * @param {string}href
 * @constructor
 */
function EntranceOne(href) {
    if (href.includes("www.ixigua.com/search")) {
        const interval = setInterval(() => {
            const elList = document.querySelectorAll(".searchPageV2__card-container>*");
            if (elList.length === 0) return;
            clearInterval(interval);
            for (let el of elList) {
                const info = el.querySelector(".HorizontalFeedCard__rich__media");
                const videoInfo = info.querySelector(".HorizontalFeedCard__title.color-link-content-primary");
                const userInfo = info.querySelector(".user__name");
                const title = videoInfo.title;
                const userName = userInfo.title;
                const userHref = userInfo.href;
                if (Matching.arrContent(RuleList.titleKeyList, title) !== null) {
                    el.remove();
                    Qmsg.success(`已通过屏蔽词屏蔽了${title}`);
                }
            }

        }, 1000);
    } else {
        const interval = setInterval(() => {
            const elList = document.querySelectorAll(".FeedContainer__items>:not(.loading)");
            if (elList.length === 0) return;
            elList.forEach(v => {
                const info = v.querySelector(".HorizontalFeedCard__rich__media");
                const videoInfo = info.querySelector(".HorizontalFeedCard__title.color-link-content-primary");
                console.log(videoInfo.title);
                console.log(videoInfo.href);
                const userInfo = info.querySelector(".user__name");
                const userName = userInfo.title;
                const userHref = userInfo.href;
                console.log(userName);
                console.log(userHref);

            })
            clearInterval(interval);
            console.log(elList);
        }, 1000);
    }


}